﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Theachmess:Person
    {
        private string title;
        private string wageno;

        public string Title
        {
            get { return this.title; }
            set { this.title = value; }
        }
        public string Wageno
        {
            get { return this.wageno; }
            set { this.wageno = value; }
        }
        public Theachmess()
        {
            ID = 20;
            Name = "孙笑川";
            Sex = "女";
            Cardid = 9594561;
            Tel = 88888888;
            this.title = "耍猴";
            this.wageno = "1326545";
        }
        public void Dayin()
        {
            Console.WriteLine(this.ID + " " + this.Name + " " + this.Sex + " " + this.Cardid + " " + this.Tel + " " + this.title + " " + this.wageno);
        }
    }
}
